<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>vue.js</title>
	<script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
	<div id="app">
		<p v-bind:href="url">百度一下</p>
		<a v-bind:href="url">百度一下</a>
	</div>
	<script type="text/javascript">
		var vm = new Vue({
			el: '#app',
			data: {
				url: 'http://www.baidu.com'
			}
		})
	</script>
</body>
</html>
